<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
    <form action="" method="post" accept-charset="utf-8"
        th:action="@{/upload/upload}"
        enctype="multipart/form-data">
        文件: <input type="file" name="head_img" id="head_img" value="">
        姓名: <input type="text" name="name" id="name" value="">
        <input type="submit" name="submit" id="submit" value="上传">
    </form>
</body>
</html>
